From 1287ac109c44ca9b99eb642316d7af83b4081b52 Mon Sep 17 00:00:00 2001 From: Ian Campbell Date: Tue, 21 Jul 2015 16:00:19 +0100 Subject: [PATCH] tools: libxl: Refix "Initialise the fd of the unused half of a datacopier" Applying the series out of order led to d72befc35f31 "tools/libxl: Identify copywhat in stream v2 datacopiers" unintentionally reverting part of 21d9b079e538 "tools/libxl: Initialise the fd of the unused half of a datacopier". Put this back. Reported-by: Andrew Cooper Signed-off-by: Ian Campbell --- tools/libxl/libxl_stream_read.c | 1 + 1 file changed, 1 insertion(+) diff --git a/tools/libxl/libxl_stream_read.c b/tools/libxl/libxl_stream_read.c index 3e1cd2aba5..32a35518e0 100644 --- a/tools/libxl/libxl_stream_read.c +++ b/tools/libxl/libxl_stream_read.c @@ -611,6 +611,7 @@ static void write_emulator_blob(libxl__egc *egc, dc->writewhat = "qemu save file"; dc->copywhat = "restore v2 stream"; dc->writefd = writefd; + dc->readfd = -1; dc->maxsz = -1; dc->callback = write_emulator_done; -- 2.30.2